﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RaisingStudio.Data.Expressions
{
    [Serializable]
    public class TableColumnExpression : ColumnExpression
    {
        private TableExpression tableExpression;
        public TableExpression TableEpression
        {
            get
            {
                return this.tableExpression;
            }
        }

        #region Constructor
        public TableColumnExpression(TableExpression tableExpression, string columnName) : base(columnName)
        {
            this.tableExpression = tableExpression;
        }

        public TableColumnExpression(TableExpression tableExpression, ColumnExpression columnExpression)
            : base((string)columnExpression)
        {
            this.tableExpression = tableExpression;
        }
        #endregion
    }
}
